package com.zhy.sample_circlemenu;

import com.zhy.sample_circlemenu.utils.MyUtils;
import junit.framework.Assert;
import org.junit.Test;

import java.util.ArrayList;
import java.util.List;

/**
 * ExampleOhosTest
 */
public class ExampleOhosTest {
    /**
     * testCase
     */
    @Test
    public void isListNoNull() {
        List<String> list = new ArrayList<>();
        list.add("a");
        boolean result = MyUtils.isListNoElement(list);
        Assert.assertFalse(result);
    }

    /**
     * testCase
     */
    @Test
    public void isListNull() {
        List<String> list = new ArrayList<>();
        boolean result = MyUtils.isListNoElement(list);
        Assert.assertTrue(result);
    }
}